<#assign fandPagePath =
'/default/admin/configuration/variable/variable/edit'>
<!DOCTYPE html>
<html lang="zh-CN">
<head><#include "../../../../head_.html">
</head>
<body class="easyui-layout">
	<div data-options="region:'center'" style="padding: 8px 0px 8px 0px;">
		<form
			action="${(fand.webContextUrl)!}/admin/configuration/variable/variable/save.txt"
			method="post" class="uk-form uk-container-center uk-width-9-10">
			<input type="hidden" name="variable.id" value="${(variable.id)!}">
			<fieldset>
				<legend>基本数据</legend>
				<div class="uk-grid">
					<label class="uk-width-1-6 uk-text-right" for="variable.typeId">类型：</label>
					<div class="uk-width-2-6">
						<select class="uk-width-4-5" id="variable.typeId"
							name="variable.typeId"><#list typeList as typeRow> <#if
							(typeRow.id!) == (variable.typeId!)>
							<option value="${typeRow.id!}" label="${typeRow.name!}"
								selected="selected"><#else>
							<option value="${typeRow.id!}" label="${typeRow.name!}">
								</#if> </#list>
						</select>
					</div>
					<label class="uk-width-1-6 uk-text-right" for="variable.orderNum">排序号：</label>
					<div class="uk-width-2-6">
						<input type="text" name="variable.orderNum" id="variable.orderNum"
							class="uk-width-4-5 easyui-numberbox"
							data-options="min:1,max:9999" value="1"
							value="${variable.orderNum!}">
					</div>
				</div>
				<div class="uk-grid">
					<label class="uk-width-1-6 uk-text-right" for="variable.code">编号：</label>
					<div class="uk-width-2-6">
						<input type="text" name="variable.code" id="variable.code"
							class="uk-width-4-5 easyui-validatebox" placeholder="请输入编号…"
							data-options="required:true" maxlength="128"
							value="${variable.code!}">
					</div>
					<label class="uk-width-1-6 uk-text-right" for="variable.name">名称：</label>
					<div class="uk-width-2-6">
						<input type="text" name="variable.name" id="variable.name"
							placeholder="请输入名称…" class="uk-width-4-5 easyui-validatebox"
							data-options="required:true" maxlength="128"
							value="${variable.name!}">
					</div>
				</div>
				<div class="uk-grid">
					<label class="uk-width-1-6 uk-text-right" for="variable.value">值：</label>
					<div class="uk-width-5-6">
						<textarea class="uk-width-1-1" name="variable.value"
							id="variable.value" placeholder="请输入值…" maxlength="128"
							style="height: 60px;">${(variable.value)!}</textarea>
					</div>
				</div>
				<div class="uk-grid">
					<label class="uk-width-1-6 uk-text-right" for="variable.remark">说明：</label>
					<div class="uk-width-5-6">
						<textarea class="uk-width-1-1" name="variable.remark"
							id="variable.remark" placeholder="请输入说明…" maxlength="128"
							style="height: 60px;">${(variable.remark)!}</textarea>
					</div>
				</div>
			</fieldset>
			<fieldset>
				<legend>
					配置多语言<input type="checkbox" name="variable.configurationLanguage"
						value="true">
				</legend>
			</fieldset>
		</form>
	</div>
	<div data-options="region:'south',border:false"
		style="text-align: right;; padding: 5px 5px 0px 0px; height: 40px;">
		<a class="uk-button" href="#back"><i class="uk-icon-level-up"></i>
			返回</a> <a class="uk-button uk-button-success" href="#reset"><i
			class="uk-icon-reply"></i> 重置</a> <a class="uk-button uk-button-primary"
			href="#ok"><i class="uk-icon-ok-circle"></i> 确定</a>
	</div>
</body>
</html>